package com.itheima.stock.service;

import com.itheima.stock.entity.StockBlockRtInfo;
import com.itheima.stock.entity.StockBusiness;
import com.itheima.stock.entity.StockUpdownDomain;
import com.itheima.stock.response.ResponseResult;
import com.itheima.stock.vo.InnerMarketVO;
import com.itheima.stock.vo.PageResult;

import java.util.List;
import java.util.Map;

/**
 * @author zby
 * @created 2024-06-23 16:34
 * @description 股票业务接口
 */
public interface StockService {

    /**
     *
     *  获取所有股票经营业务信息列表
     *
     * @return List
     */
    List<StockBusiness> getStockBusiness();

    List<InnerMarketVO> innerIndexAll();

    ResponseResult<List<StockBlockRtInfo>> sectorAllLimit();

    ResponseResult<List<StockUpdownDomain>> stockIncreaseLimit();

    ResponseResult<PageResult<StockUpdownDomain>> stockPage(Integer page, Integer pageSize);

    ResponseResult<Map> upDownCount();
}